<template>
	<view class="xcTip">
		<view class="warn">
			{{title}}
		</view>
		<view v-for="item in tipArr">
			{{item}}
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:'温馨提示'
			},
			tipArr:{
				type:Array,
				default:()=>{
					return []
				}
			},
			
		}
	}
</script>

<style lang="scss">
	.xcTip {
		>view {
			padding-bottom:10upx;
		}
	}
</style>
